package com.erbao.dp.factory.abs;

/**
 * @author CaoBaoYin
 * @since 2021/8/24 21:49
 */
public class MagicFactory extends AbstractFactory {
    @Override
    Food createFood() {
        return new Mushroom();
    }

    @Override
    Vehicle createVehicle() {
        return new Broom();
    }

    @Override
    Weapon createWeapon() {
        return new MagicStick();
    }
}
